<!DOCTYPE html>
<html>
<head>
    <title></title>
</head>
<link rel="stylesheet" type="text/css" href="<?=base_url('public/css/common.css')?>"/>
    <link rel="stylesheet" type="text/css" href="<?=base_url('public/css/main.css')?>"/>
    <script type="text/javascript" src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
<body>
<div class="search-wrap">
    <div class="search-content">

        <div class="search-tab layer-photos-demo" id="layer-photos-demo">
        <?php foreach($list as $k => $v): ?>
            <div style="margin: 20px 0px 20px 20px;float: left">
            <img src="<?=$v['path'].$v['thumb']?>" width="150px" height="150px"  layer-pid="<?=$v['id']?>" layer-src="<?=$v['path'].$v['file_name']?>" alt="<?=$v['name']?>">
            <br />
            <a href="javascript:;" onclick="img_delete(<?=$v['id']?>)">删除</a> | 
            <a href="javascript:;" onclick="set_sort(<?=$v['id']?>,<?=$v['sort']?>)">排序<?=$v['sort'] == 0 ? '' : '【'.$v['sort'].'】'?></a>
            </div>
        <?php endforeach;?>
        </div>
    </div>
</div>

<script>

</script>
</body>
</html>

